package com.bm.server.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@TableName(value = "t_pinglun")
public class Pinglun {
    @TableId(type = IdType.AUTO)
    private Integer id ;

    /** 评论文章的id */
    private Integer aid ;

    /** user的id */
    private Integer uid ;


    /** 评论的内容 */
    private String content ;

    /** 发布评论的时间 */
    private Date ctime ;

}
